<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>参数字典明细维护</title>
<link rel="stylesheet" type="text/css" href="../../css/cm-default.css" />
<link rel="stylesheet" type="text/css" href="../../css/main.css" />
<link rel="stylesheet" type="text/css" href="../../lib/ligerUI/skins/Aqua/css/ligerui-all.css" />
<link rel="stylesheet" type="text/css" href="../../lib/ligerUI/skins/ligerui-icons.css" />
<link rel="stylesheet" type="text/css" href="../../lib/bootstrap/css/bootstrap.css"/>
<script type="text/javascript" src="../../lib/jquery/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="../../lib/ligerUI/js/ligerui.all.js" ></script>
<script type="text/javascript" src="../../js/common.js" ></script>
<script type="text/javascript" src="../../lib/autoInput/AutoInput.js" ></script>
<script type="text/javascript" src="../../js/pub.js"></script>
<script type="text/javascript" src="../../lib/bootstrap/js/bootstrap.js" ></script>
<script type="text/javascript" src="../../lib/md5.js"></script>
<script type="text/javascript" src="dictitem.js" ></script>
<style type="text/css">
    label{margin: 5px 20px 5px 15px;}
    .fields{height:65px;padding-top:5px;background-color:#F0EEED}
    .dict-info{width: 260px;padding: 10px;}
    .diff {margin:3px 0;}
    .lineD {width:99%;float:left;position:relative;overflow:hidden;margin:10px 0 2px 2px}
    .labelD {width:26%;position:relative;float:left;padding-top:3px;}
    .dplD {width:73%;position:relative;float:left;}
    .title{font-size:14px;font-weight:bold;background-position:left;padding-left:18px;}
</style>
</head>
<body style="padding:0;">
<div id="pageloading"></div>
<div id="layout_main">
    <div position="center" id="a_center">
        <div id="query_cond" class="fields">
        	<div style="padding-left:15px;padding-top:5px;">
 			<button type="button" onclick="openDictDef();" class="btn btn-primary btn-xs ">
   				&nbsp;<span class="glyphicon glyphicon-plus">新增</span>
    		</button>
   			</div>
   			
            <label>编号</label><input type="text" class="s-text txt-def" id="defCode" />
            <label>名称</label><input type="text" class="s-text txt-def" id="defName" />
            <label>状态</label><select id="dictStatus" param="rbac.status" first=""></select>
            <button type="button" onclick="toQuery();" style="margin-left:25px;" class="form_Button btn btn-primary btn-xs">查询</button>
            <button type="button" onclick="toReset('#query_cond input,select,textarea');" class="form_Button btn btn-primary btn-xs">清空</button>
        </div>
        <div id="query_list"></div>
    </div>
</div>
<div id="new_user_def" style="display:none;overflow:hidden;">
    <form name="basic-form" method="post" id="basic_form" class="liger-form" data-validate="{}">
        <div class="lineD">
            <div class="labelD"><label>编号</label></div>
            <div class="dplD"><input type="text"  ltype="text" class="required s-text txt-def" id="codeS" /></div>
        </div>

        <div class="lineD">
            <div class="labelD"><label>名称</label></div>
            <div class="dplD"><input type="text"  ltype="text" class="required s-text txt-def" id="newNameS" /></div>
        </div>
        <div class="lineD">
            <div class="labelD"><label>数据项值</label></div>
            <div class="dplD"><input type="text"  ltype="text" class="required s-text txt-def" id="newVALUES" /></div>
        </div>
    
    <div class="lineD">
        <div class="labelD"><label>显示顺序</label></div>
        <div class="dplD">
            <input type="text" class="s-text txt-def" id="newSEQ" />
        </div>
        <div class="lineD">
            <div class="labelD"><label>明细否</label></div>
            <div class="dplD"><select class="txt-def" id="newDetail" param="yesOrNo" default="1" style="margin-right: 30px;"></select></div>
        </div>
        <div class="lineD">
            <div class="labelD"><label>状态</label></div>
            <div class="dplD"><select class="txt-def" id="newStatus" param="rbac.status" default="1" style="margin-right: 30px;"></select></div>
        </div>
        <div class="lineD">
            <div class="labelD"><label>说明</label></div>
            <div class="dplD"><textarea cols="24" rows="2" id="newDesc"></textarea></div>
        </div>
        <div class="lineD" style="margin-top:15px;padding-left:30%;">
            <button type="button" onclick="toAdd();" class="form_Button btn btn-primary btn-xs">保存</button>
            <button type="button" onclick="toReset('#new_user_def input,select,textarea')" class="form_Button btn btn-primary btn-xs">清空</button>
        	
        </div>
    </div>
    </form>
    </div>
</body>
</html>